<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>06字体的简写属性</title>
    <style>
        div{
            border: 1px red solid;
            font: normal normal 18px/2 Verdana, Geneva, Tahoma, sans-serif;
            /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
            /* font-style: italic; */
            /* font-weight: normal; */
            font-size: 18px;

            /* 
             font:可以设置字体的多个属性，必须设置字体大小和字体类别
                    字体加粗和斜体以及行高都是可选选项，设置为默认值
             
             
             
             */
        }


    </style>
</head>
<body>
    <div>张勇就是个大帅比</div>
    
</body>
</html>